package com.ztgf.sys.models.enums;

/**
 *
 * 运营模块常用枚举
 *
 * @author YUE
 * @create 2020-05-19 11:25
 */
public enum SYSCodeEnum {
    WEB_TYPE_ADMIN(0,"平台系统权限(后台)"),
    WEB_TYPE_PLATE(1,"前端商家权限"),

    CONFIG_CODE_MANAGER(1,"shopManager"),

    SORT_DESC(1,"降序"),
    SORT_ASC(2,"升序"),

    PUBLIC_0(0,"未发布"),
    PUBLIC_1(1,"发布"),

    DISOPEN_0(0,"不打开"),
    OPEN_1(1,"打开"),

    DISABLE_0(0,"不启用"),
    ENABLE_1(1,"启用"),

    IN_0(0,"包含"),
    NOTIN_1(1,"不包含"),

    STATUS_0(0,"正常"),
    STATUS_1(1,"删除");

    private int code;
    private String msg;

    SYSCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
